package com.zzh.thread;


import java.util.Arrays;
import java.util.Comparator;

public class ThreadClass {

    public static void main(String[] args) {
        int[][] values = new int[][]{new int[]{1, 2, 3}, new int[]{4, 5, 6}, new int[]{7, 8, 9}};
        int[][] ends = rotate(values);
        for (int[] end : ends) {
            for (int i : end) {
                System.out.println(i);
            }
            System.out.println();
        }
    }

    public static int[][] rotate(int[][] matrix) {
        for (int[] ints : matrix) {

        }
        return matrix;
    }
}